package com.zdzx.common.result;

public class ResultUtil {
	public static   <T> Result<T> data(String code,String msg, T data) {
		Result<T> res = new Result<T>();
		res.setCode(String.valueOf(code));
		res.setMsg(msg);
		res.setData(data);
		return res;
	}
	
}
